package org.jeecg.modules.fep.mapper;

import java.util.List;
import org.jeecg.modules.fep.entity.FepOrdersProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 订单详情
 * @Author: jeecg-boot
 * @Date:   2023-04-14
 * @Version: V1.0
 */
public interface FepOrdersProductMapper extends BaseMapper<FepOrdersProduct> {

	/**
	 * 通过主表orderNo删除子表数据
	 *
	 * @param orderNo 主表orderNo
	 * @return boolean
	 */
	public boolean deleteByOrderNo(@Param("orderNo") String orderNo);

  /**
   * 通过主表orderNo查询子表数据
   *
   * @param orderNo 主表orderNo
   * @return List<FepOrdersProduct>
   */
	public List<FepOrdersProduct> selectByOrderNo(@Param("orderNo") String orderNo);
}
